package cn.zhouchao.fallback;

import cn.zhouchao.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class UserFallback {

    public static User getUserFallback(@PathVariable Long id, Throwable throwable) {
        return new User(-1L, "熔断了！", "断了断了，真的断了----！！！");
    }

}
